It is a bit odd to have different default values for the vertical
and horizontal policy, but then that's what we almost always want in
practice: Automatic scrolling vertically, and no scrolling horizontally.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3020>
"Horizontal Scrollbar Policy",
"When the horizontal scrollbar is displayed",
ST_TYPE_POLICY_TYPE,
- ST_POLICY_AUTOMATIC,
+ ST_POLICY_NEVER,
ST_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
/**
StScrollViewPrivate *priv = st_scroll_view_get_instance_private (self);
ClutterActor *scrollbar;
- priv->hscrollbar_policy = ST_POLICY_AUTOMATIC;
+ priv->hscrollbar_policy = ST_POLICY_NEVER;
priv->vscrollbar_policy = ST_POLICY_AUTOMATIC;
priv->hadjustment = g_object_new (ST_TYPE_ADJUSTMENT,